﻿using System.Net;

namespace MingleReport.HttpRequests
{
    public class HttpRequestFactory : IHttpRequestFactory
    {
        public MingleHttpAuthenticationRequest GetAuthenticationRequest(string server, string username,
                                                                           string password)
        {
            return new MingleHttpAuthenticationRequest(server, username, password);
        }

        public MingleHttpStoryCardRequest GetStoryCardRequest(string server, string projectId, CookieContainer loginCookie)
        {
            return new MingleHttpStoryCardRequest(server, projectId, loginCookie);
        }
    }
}